package com.zhuiyi.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuiyi.zhxy.pojo.Admin;
import com.zhuiyi.zhxy.pojo.LoginForm;

/**
 * @Description:
 * @Author: zhuiyi
 * @CreatTime: 2023/1/22 20:35
 **/
public interface AdminService extends IService<Admin> {
    Admin login(LoginForm loginForm);

    IPage<Admin> getAllAdmin(Page page, String adminName);
}
